﻿using MobilTomegSzerver.Service.ServiceClasses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace MobilTomegSzerver.Service
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "RemoteMobile" in code, svc and config file together.
    // NOTE: In order to launch WCF Test Client for testing this service, please select RemoteMobile.svc or RemoteMobile.svc.cs at the Solution Explorer and start debugging.
    public partial class RemoteMobile : IRemoteMobile
    {
        public static object _lock = new object();

        //public static ReaderWriterLock routelock = new ReaderWriterLock();
        //public static ReaderWriterLock alllock = new ReaderWriterLock();

        public static Dictionary<string, Dictionary<Guid, RouteData>> routes =
                                        new Dictionary<string, Dictionary<Guid, RouteData>>();

        public bool Ping()
        {
            return true;
        }
    }
}
